<template>
	<div>
		<headerTop></headerTop>
		<visitorPie :pieData="pieData"></visitorPie>
	</div>
</template>

<script>
	import headerTop from '../../../components/headerTop.vue'
	import visitorPie from '../../../components/visitorPie.vue'
	export default{
		components:{
			headerTop,
			visitorPie
		},
		data(){
			return{
				pieData:{},
				user_city:{beijing:20,shanghai:20,shenzhen:20,hangzhou:20,qita:20}
			}
		},
		methods:{
			initData(){
				this.pieData = this.user_city
			}
		},
		mounted(){
			this.initData()
		}
	}
</script>

<style>
</style>
